package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.ApprovalFile;
import cn.topevery.garden.entity.query.ApprovalFileQuery;
import cn.topevery.garden.entity.vo.ApprovalFileVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 批后数据 附件表
 *
 * @author code-generate
 * @date 2022-02-16
 */
public interface ApprovalFileDao extends BaseDao<ApprovalFile> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<ApprovalFileVO> listPage(ApprovalFileQuery query);

    ApprovalFile getEntityByColumn(String key, String value);

    List<ApprovalFile> getListByPid(Integer pid);

    void deleteById(Integer pId);
}
